import {createApp} from 'vue'
import App from './App.vue'

import router from "@/router"

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import store from "@/store";

createApp(App)
    .use(router)
    .use(store) // 注册，他和router一样，可以在SPA页面产生一个this.$store的对象，方便调用状态管理的数据和行为
    .use(ElementPlus)
    .mount('#app')
